<template>
  <div class="card team-overview-card">
    <div class="card-body">
      <div class="content-wrapper">
        <div class="text-content">
          <v-md-editor v-model="text" height="209px" mode="preview"></v-md-editor>
        </div>
        <div class="image-content">
          <img src="@/assets/img/dongke.jpg" alt="董克" />
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      text: `# 董克

## 个人基本情况
 1988年出生，美国MBA硕士，曾就职于深圳麦格米特电器股份有限公司、德国沙尔特宝集团公司，现任沈阳二一三电子科技有限公司副总经理、人工智能研究院院长`
    }
  }

}
</script>

<style>
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.card-header {
  padding: 20px 25px 15px;
  border-bottom: 1px solid #eee;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}
.card-divider {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #11998e, #38ef7d);
  margin-top: 10px;
  border-radius: 3px;
}

.card-body {
  padding-top: 25px;
}

.team-overview-card .card-body {
  padding: 25px;
}

.content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.text-content {
  flex: 1;
}

.text-content h2 {
  margin-top: 0;
}

.text-content p {
  color: #666;
  font-size: 1.1rem;
  margin: 5px 0;
}

.image-content {
  width: 300px; /* 可根据照片实际情况调整宽度 */
  display: flex;
  justify-content: flex-end;
}

.image-content img {
  width: 200px;
  height: 200px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-right: 100px;
}
</style>